ReportView = function(a) {
	Ext.applyIf(this, a);
	this.reportUrl = this.Url;
	var reptitle=this.title;
	var op='';
	if (this.op){
		op='&op='+this.op;
	}
	return new Ext.Panel({
		id : "ReportPreview-"+reptitle,
		title : this.title,
		iconCls : "menu-report",
		autoScroll : false,
		autoHeight : true,
		border : false,
		frame : false,
		items:[{
			xtype : "iframepanel",
			//title : reptitle,
			border : false,
			frame : false,
			id : "iframe-ReportPreview-"+reptitle,
			loadMask : {
				msg : "正在加载...,请稍等..."
			},
			defaultSrc :  __ctxPath+'/ReportServer?reportlet='+ this.reportUrl+op+"&id="+__userid
		} ],
		listeners : {
			"bodyresize": function(f) {
				Ext.getCmp("iframe-ReportPreview-"+reptitle).setHeight(Ext.getCmp("centerTabPanel").getInnerHeight());				
			}
		}
	});
}